package com.emmmya.ocs.modules.system.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.emmmya.ocs.modules.system.entity.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description:
 * @author: 咕噜肉IT小店-黑医
 * @createDate: 2020-11-16
 * @version: 1.0
 */
@Repository
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> selectByParentId(Integer parentId);
    Integer updateByPrimaryKeySelective(Menu menu);
}
